<?php
/**
 * Yii view index
 *
 * @author nguyenmanhluu
 * @since Aug 19, 2013 - 6:48:10 PM
 */
?>
<div class="row-fluid">
    <div class="box span12">
        <div class="box-header">
            <h2>
                <i class="icon-columns"></i>
                Chose layout to add widget
            </h2>
            <div class="box-icon">                    
                <a href="#" class="btn-minimize"><i class="icon-chevron-up"></i></a>                    
            </div>
        </div>
        <div class="box-content table-responsive">
            <table class="table table-bordered table-striped">
                <?php foreach ($layouts as $layout): ?>
                    <tr>
                        <td>
                            <a href="<?php echo $this->createUrl('widget/layout', array('pk' => $layout->id)) ?>">                            
                                <?php echo $layout->name ?>
                            </a>
                        </td>
                    </tr>
                <?php endforeach; ?>
            </table>
        </div>
    </div>
</div>
